package com.yuyou.fn.educational.service;

import com.github.wens.framework.service.ISuperService;
import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.educational.entity.ClassRemuneration;
import com.yuyou.fn.educational.vo.ClassRemunerationQueryVo;
import com.yuyou.fn.educational.vo.ClassRemunerationSaveOrUpdateVo;
import com.yuyou.fn.platform.permission.DataPermission;

import java.math.BigDecimal;

/**
 *
 * ClassRemuneration 表数据服务层接口
 *
 */
public interface IClassRemunerationService extends ISuperService<ClassRemuneration,Long> {


    Page<ClassRemuneration> findClassRemunerationForPage(ClassRemunerationQueryVo classRemunerationQueryVo, DataPermission dataPermission, int pageNo, int pageSize);

    void saveOrUpdateClassRemuneration(ClassRemunerationSaveOrUpdateVo classRemunerationSaveOrUpdateVo);

    BigDecimal calRemuneration(Long areaTeamId, Long busTeamId, Long teacherId , int lectureAmount );

    ClassRemuneration findByBusTeamIdAndLevel(Long busTeamId,Integer level);
}